#include<stdio.h>
int main()
{
    int sum,a,b;
    scanf("%d %d",&a,&b);
    if(a>b)
    {
        sum=a+b;
        printf("%d",sum);
    }
    if(a<b)
    {
        sum=b+a;
        printf("%d",sum);
    }
    return 0;
}